package Rainwater.baen;

import lombok.Data;

/**
 * @author cfy
 * @date 2024/10/15
 **/
@Data
public class R {
    /*返回体*/
    private Integer code;
    private String msg;
    private Object data;
    public   R success(Object data1){

        code = 200;
        msg = "ok";
        data = data1;
        return this;
    }

}
